body {
    font-size: .875rem;
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

/* 侧边栏 */
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px) {
    .sidebar {
        top: 5rem;
    }
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
    padding: 0.5rem 1rem;
}

.sidebar .nav-link:hover {
    color: #007bff;
}

.sidebar .nav-link.active {
    color: #007bff;
}

.sidebar .nav-link i {
    margin-right: 8px;
    color: #999;
}

.sidebar .nav-link:hover i {
    color: #007bff;
}

.sidebar .nav-link.active i {
    color: #007bff;
}

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

/* 内容区域 */
.main-content {
    padding: 1.5rem;
}

/* 数据表格 */
.table-container {
    margin-top: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem 0;
}

.page-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
}

/* 卡片样式 */
.dashboard-card {
    background: white;
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.dashboard-card-title {
    margin: 0;
    font-size: 1rem;
    color: #666;
}

.dashboard-card-value {
    font-size: 2rem;
    font-weight: 500;
    margin: 0.5rem 0;
}

/* 表单和模态框 */
.modal-body {
    padding: 1.5rem;
}

.form-group label {
    font-weight: 500;
    color: #555;
}

/* 按钮样式 */
.btn-action {
    padding: 0.25rem 0.5rem;
    margin: 0 0.25rem;
}

/* 提示信息 */
.alert {
    margin-top: 1rem;
}

/* 加载动画 */
.loading {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

/* 任务状态标签 */
.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-pending {
    background-color: #ffc107;
    color: #000;
}

.status-in-progress {
    background-color: #17a2b8;
    color: #fff;
}

.status-completed {
    background-color: #28a745;
    color: #fff;
}

.status-overdue {
    background-color: #dc3545;
    color: #fff;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .page-header .btn {
        margin-top: 1rem;
    }
}

/* DataTables自定义样式 */
.dataTables_wrapper {
    padding: 1rem 0;
}

.dataTables_filter input {
    margin-left: 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
}

.dataTables_length select {
    margin: 0 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.25rem 1.5rem 0.25rem 0.5rem;
} 